import { createStore } from 'vuex'

export default createStore({
  state: {
    token:false,
    userAccount:12345678910,
    avatarURL:"https://myevent.oss-cn-beijing.aliyuncs.com/701ea89e-bada-487c-b204-b56f5f76ccae.png"
  },
  getters: {
  },
  mutations: {
    setToken(state,t){
      state.token=t;
    },
    setUserAccount(state,u){
      state.userAccount=u;
    },
    setAvatarURL(state,a){
      state.avatarURL=a;
    }
  },
  actions: {
  },
  modules: {
  }
})
